package edu.sctu.liangyuxiang.day20150521;

/**
 * Created by user20 on 2015/5/21.
 */
public class TextMain {

    public static void main(String[] args) {

        TextData textData = new TextData();

        TextOne textOne = new TextOne(textData.getTeacher());
        textOne.getTeacherInfo();

        Student[] student = new Student[5];
        for (int i = 0; i <5 ; i++) {
            student[i] = new TextData().getTeacher()[0].student[i];
        }

        for (int i = 0; i <textOne.getStudent(60,student ).length; i++) {
                System.out.println(textOne.getStudent(60,student)[i]);
        }

        for (int i = 0; i < textOne.getCode().length ; i++) {
            System.out.println(textOne.getCode()[i]);
        }

//        textOne.getCourse();
    }
}
